\hypertarget{image_8c}{}\doxysubsection{extern/libembroidery/src/image.c File Reference}
\label{image_8c}\index{extern/libembroidery/src/image.c@{extern/libembroidery/src/image.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}embroidery\+\_\+internal.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{image_8c_acf5d4a6e72ad546b2502069adbf45c3b}{write\+Image}} (FILE $\ast$file, unsigned char image\mbox{[}$\,$\mbox{]}\mbox{[}48\mbox{]})
\item 
float \mbox{\hyperlink{image_8c_ac932a13030ae86a36da67dde06da0917}{image\+\_\+diff}} (unsigned char $\ast$a, unsigned char $\ast$b, int size)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
This backends to the stb libraries and nanosvg library.

Use Python PEP7 for coding style. 

\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{image_8c_ac932a13030ae86a36da67dde06da0917}\label{image_8c_ac932a13030ae86a36da67dde06da0917}} 
\index{image.c@{image.c}!image\_diff@{image\_diff}}
\index{image\_diff@{image\_diff}!image.c@{image.c}}
\doxyparagraph{\texorpdfstring{image\_diff()}{image\_diff()}}
{\footnotesize\ttfamily float image\+\_\+diff (\begin{DoxyParamCaption}\item[{unsigned char $\ast$}]{a,  }\item[{unsigned char $\ast$}]{b,  }\item[{int}]{size }\end{DoxyParamCaption})}

The distance between the arrays {\itshape a} and {\itshape b} of length {\itshape size}. \mbox{\Hypertarget{image_8c_acf5d4a6e72ad546b2502069adbf45c3b}\label{image_8c_acf5d4a6e72ad546b2502069adbf45c3b}} 
\index{image.c@{image.c}!writeImage@{writeImage}}
\index{writeImage@{writeImage}!image.c@{image.c}}
\doxyparagraph{\texorpdfstring{writeImage()}{writeImage()}}
{\footnotesize\ttfamily void write\+Image (\begin{DoxyParamCaption}\item[{FILE $\ast$}]{file,  }\item[{unsigned char}]{image\mbox{[}$\,$\mbox{]}\mbox{[}48\mbox{]} }\end{DoxyParamCaption})}

Write a PES embedded {\itshape image} to the given {\itshape file} pointer. 